package com.yingside.collection.generic;

import com.yingside.collection.Student;

public class MyGeneric<E extends Student> {

    public void show(Manager<? extends Student> manager){
        manager.show();
    }

    public void show2(Manager<? super Student> manager){
        manager.show();
    }

    public static void main(String[] args) {
        MyGeneric<MiddleStudent> mg = new MyGeneric<MiddleStudent>();
    }
}
